package com.vogue.supplymall.order.domain.mapper;

import com.vogue.supplymall.order.domain.model.OrderStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * The interface Order status.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-02-06
 */
@Mapper
public interface OrderStatusMappper extends BaseMapper<OrderStatus, Long> {
    @Select("SELECT id, orderid, syscodeid, orderstatus, iscancel, createdate, modifydate from order_status where orderid = #{orderId} ")
    List<OrderStatus> getByOrderId(Long orderId);
}
